package com.ayu.shortlink.admin.service;

import com.ayu.shortlink.admin.common.convention.result.Result;
import com.ayu.shortlink.admin.dao.entity.FileDO;
import com.ayu.shortlink.admin.dto.req.FileUploadReqDTO;
import com.ayu.shortlink.admin.dto.resp.FileUploadRespDTO;
import com.baomidou.mybatisplus.extension.service.IService;

public interface FileService extends IService<FileDO> {
    Result<FileUploadRespDTO> initMultipartUpload(FileUploadReqDTO requestParam);

    Result<FileUploadReqDTO> queryByMD5(String md5);

    Result<String> mergeMultipartUpload(String md5);
}
